#ifndef _MY_FUNC_H_IMP_
#define _MY_FUNC_H_IMP_

#include "bsp_board_defs.h"
#include "hal_types.h"

void    InitKey(void);
uint8_t GetNodeID(void);
void    InitADC(void);
void    ReadADC(uint8_t *adcBuffer);

void    HalUART0Init(void);
void    HalUART0_SendData_DMA(uint8_t *sendBuf, uint16_t uLen);
void    ZD_uart1_sendData(uint8_t *buf, uint16_t num);

#define ENABLE_GLOBAL_INTERRUPT EA = 1//
#define DISABLE_GLOBAL_INTERRUPT EA = 0//

#endif//_MY_FUNC_H_IMP_